'use strict';

/**
 * Module to save family variant
 *
 * @author    Julien Sanchez <julien@akeneo.com>
 * @copyright 2017 Akeneo SAS (http://www.akeneo.com)
 * @license   http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
 */
define(['underscore', 'pim/saver/base', 'routing'], function (_, BaseSaver, Routing) {
  return _.extend({}, BaseSaver, {
    /**
     * {@inheritdoc}
     */
    getUrl: function (identifier) {
      return Routing.generate(__moduleConfig.putUrl, {identifier: identifier});
    },
  });
});
